<template>
  <view v-if="config.params">
    <view class="pa-3">dev</view>
  </view>
  <view v-else>
    <view class="pa-6">
      <u-button type="primary" @click="onTest">Test Roper</u-button>
    </view>
  </view>
</template>

<script>
export default {
  props: {
    config: Object,
  },
  methods: {
    onTest() {
      this.$navTo("https://hqs.link/wx/game/roper/index.html");
    },
  },
};
</script>
